package org.example.springboot3.mapper;


import org.apache.ibatis.annotations.Select;
import org.example.springboot3.entity.Album;


import java.util.List;

public interface AlbumMapper {

    void addPic(Album album);

    List<Album> selectAll(Album album);

    void deleteById(Integer id);

    void update(Album album);

    @Select("select * from `album` where time = #{time}")
    Album selectById(String time);
}//
